Skip to content

Fractal filter: a simplified NavMap for planning; A* map_key and dense paths - #185

Open
jmguerreroh wants to merge 2 commits into
rollingfrom
fractal-navmap-plugin
Open

jmguerreroh wants to merge 2 commits into
rollingfrom
fractal-navmap-plugin

Conversation

@jmguerreroh

Copy link
Copy Markdown
Contributor

Francisco's fractal-navmap-plugin branch, on top of current rolling:

  • FractalFilter (easynav_navmap_maps_manager): a simplified copy of map.navmap for planning on large maps. Same-cost, flat neighbour NavCels merge into larger triangles (RTIN) and split back to the source resolution where the cost changes; the result goes to map.navmap.lod, while the other filters keep working on map.navmap at full resolution. Only the costs around the robot and a slice of the map are read each cycle; RViz gets the map and then patches. In a 2.49 M-NavCel warehouse the planning copy has about 725 k NavCels. README and tests (navmap_fractal_filter_tests, navmap_fractal_rtin_tests) included.
  • AStarPlanner (easynav_navmap_planner): map_key selects the NavState key of the NavMap to plan on (map.navmap.lod with the Fractal filter). The path starts at the robot instead of its NavCel's centroid, has at least two points when the goal is in the robot's own NavCel, and its points are at most 0.25 m apart however large the NavCels are. This also matters to any map with large NavCels, e.g. BigMap's level-of-detail maps.

Depends on EasyNavigation/NavMap's fractal-navmap-plugin (48 in NavMap: EasyNavigation/NavMap#48) (the NavMapPatch message). #182 leaves degenerate NavCels out of the A* graph, which the Fractal map has many of.

Built and tested on rolling with that NavMap: easynav_navmap_maps_manager and easynav_navmap_planner, all tests pass.

…nning

FractalFilter merges same-cost neighbour NavCels of map.navmap into larger
triangles (RTIN) and splits them back where the cost changes, into
map.navmap.lod. Only the costs around the robot and a slice of the map are
read each cycle; RViz gets the map and then patches.
map_key selects the NavState key of the NavMap to plan on (map.navmap.lod for
the Fractal filter). The path starts at the robot, has at least two points
when the goal is in the robot's own NavCel, and its points are at most
0.25 m apart however large the NavCels are.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants